-
Notifications
You must be signed in to change notification settings - Fork 11.5k
[Api Nodes]: Improve Price Badge Declarations #11582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Kosinkadink
merged 15 commits into
Comfy-Org:master
from
bigcat88:feat/api-nodes/declarative-price-badges
Jan 14, 2026
Merged
[Api Nodes]: Improve Price Badge Declarations #11582
Kosinkadink
merged 15 commits into
Comfy-Org:master
from
bigcat88:feat/api-nodes/declarative-price-badges
Jan 14, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
292d44f to
dd3f1a1
Compare
dd3f1a1 to
5ee6f0a
Compare
Kosinkadink
approved these changes
Jan 14, 2026
Member
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and nothing broke + no spam of object_info json, merging. Actual values to be displayed once frontend PR is in is verified by QA.
bigcat88
added a commit
to Comfy-Org/ComfyUI_frontend
that referenced
this pull request
Jan 22, 2026
## Summary Backend part: Comfy-Org/ComfyUI#11582 - Move API node pricing definitions from hardcoded frontend functions to backend-defined JSONata expressions - Add `price_badge` field to node definition schema containing JSONata expression and dependency declarations - Implement async JSONata evaluation with signature-based caching for efficient reactive updates - Show one decimal in credit badges when meaningful (e.g., 1.5 credits instead of 2 credits) ## Screenshots (if applicable) <!-- Add screenshots or video recording to help explain your changes --> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7816-Move-price-badges-to-python-nodes-2da6d73d365081ec815ef61f7e3c65f7) by [Unito](https://www.unito.io)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR extends V3 schema and allow nodes to declare price badges using JSONata syntax.
Requires support from the Frontend repo: Comfy-Org/ComfyUI_frontend#7816
API Node PR Checklist
Scope
Pricing & Billing
If Need pricing update:
QA
Comms